package com.atsansan.mywork.login.service;

import com.atsansan.mywork.login.entity.UserEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sansan
 * @create 2021-01-17 22:04
 */
public interface UserService extends IService<UserEntity> {

    List<UserEntity> list();
    UserEntity selectByName(String name);

    UserEntity login(String name,String password);
}
